import React, {Component} from 'react';
//import PropTypes from 'prop-types';
import {Layout} from 'antd';
import {View as Header} from '../../component/Header';
import {View as Footer} from '../../component/Footer';

export default class App extends Component {
	render() {
		const {Content} = Layout;
		return (
			<Layout className="layout">
			<Header/>
			<Content style={{ background: '#fff', padding: 24, minHeight: 440 }}>
			{this.props.children}
			</Content>
			<Footer/>
			</Layout>
		);
	}
}
			